package com.itboye.jinpuyiyuan.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/12/9 0009.
 */

public class RegisterHospitalBean implements Serializable{
    private String name;
    private ArrayList<Child> list;

    @Override
    public String toString() {
        return "RegisterHospitalBean{" +
                "name='" + name + '\'' +
                ", list=" + list +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ArrayList<Child> getList() {
        return list;
    }

    public void setList(ArrayList<Child> list) {
        this.list = list;
    }

    public static class Child implements Serializable{
     private String childName;

        public String getChildName() {
            return childName;
        }

        public void setChildName(String childName) {
            this.childName = childName;
        }

        @Override
        public String toString() {
            return "Child{" +
                    "childName='" + childName + '\'' +
                    '}';
        }
    }
}
